const sha256 = require('./sha256.js');

function hmacSha256(data, key) {
  return sha256.hmac(key, data);
}

function sha256Hash(data) {
  return sha256.hash(data);
}

module.exports = {
  hmacSha256,
  sha256: sha256Hash
}; 